package com.p2p.base.model;

import java.io.Serializable;
import java.util.Date;

public class BaseUser implements Serializable {
	
	private static final long serialVersionUID = 522889572773714584L;
	
	private String id;
	private String name;
	private String password;
	private String mobilePhone;
	private String email;
	private String lastLoginIp;
	private String lastLogintype;
	private Date lastLoginTime;
	private Integer loginTimes;
	private String accountNo;
	
	public BaseUser() {}
	
	public BaseUser(String id,String name,String password) {
		this.id = id;
		this.name = name;
		this.password = password;
	}
	
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	
	public Integer getIntId(){
		return Integer.parseInt(id);
	}	
	public Long getLongId(){
		return Long.parseLong(id);
	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}

	public String getMobilePhone() {
		return mobilePhone;
	}

	public void setMobilePhone(String mobilePhone) {
		this.mobilePhone = mobilePhone;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getAccountNo() {
		return accountNo;
	}

	public void setAccountNo(String accountNo) {
		this.accountNo = accountNo;
	}

	public String getLastLoginIp() {
		return lastLoginIp;
	}

	public void setLastLoginIp(String lastLoginIp) {
		this.lastLoginIp = lastLoginIp;
	}

	public String getLastLogintype() {
		return lastLogintype;
	}

	public void setLastLogintype(String lastLogintype) {
		this.lastLogintype = lastLogintype;
	}

	public Date getLastLoginTime() {
		return lastLoginTime;
	}

	public void setLastLoginTime(Date lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}

	public Integer getLoginTimes() {
		return loginTimes;
	}

	public void setLoginTimes(Integer loginTimes) {
		this.loginTimes = loginTimes;
	}

	
	
}
